package com.cms.model;

import com.cms.common.StringUtils;


public class TrMenu extends BaseModel{

	
	private String menuCode;
	
	private String menuName;
	
	private String menuDesc;
	
	private String menuType;
	
	private String menuUrl;
	
	private int menuPid;
	
	private String menuVisible;
	
	
	public void setMenuDesc(String menuDesc) {
		this.menuDesc = menuDesc;
	}
	
	public String getMenuDesc() {
		return menuDesc;
	}
	
	public void setMenuVisible(String menuVisible) {
		this.menuVisible = menuVisible;
	}
	
	public String getMenuVisible() {
		return menuVisible;
	} 

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getMenuType() {
		if(StringUtils.isBlank(menuType))
		{
			return "N";
		}
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public int getMenuPid() {
		return menuPid;
	}

	public void setMenuPid(int menuPid) {
		this.menuPid = menuPid;
	}
 
	
}
